<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        img{
             width:500px ;
            height: 5 00px; ;
            
        } 
        a{
            /* a显示模式是行内块，加宽高不生效 */
            text-decoration: none;
            width: 300px;
            height: 50;
            background-color: rgb(230, 171, 8);
            display: inline-block;/* 转换成行内块 */
            color: azure;
            text-align: center;
            line-height: 50px;
        }
        a:hover{
            background-color: antiquewhite;
        }
    </style>
</head>
<body>
<!--     <img src="C:\Users\86158\Desktop\VS\images\QQ图片20221110204750.jpg" alt="">
    <img src="C:\Users\86158\Desktop\VS\images\QQ图片20221110204750.jpg" alt=""> -->
    <a href="#">导航1</a>
    <a href="#">导航2</a>
    <a href="#">导航3</a>
    <a href="#">导航4</a>
    <a href="#">导航5</a>
</body>

</html>